package newcharacter;

import java.util.Arrays;
import java.util.List;

public class StreamDemo {
    public static void main(String[] args) {
        List<String> arr = Arrays.asList("小33米","鳄鱼33","33","水电费话","耳环3");
        arr.stream()
                .filter(s -> s.contains("3"))
                .filter(s -> s.startsWith("小"))
                .forEach(System.out::println);

    }
}
